#!/usr/bin/env python
# coding:utf-8 vi:noet:ts=4

import sys

if 'win32' == sys.platform :

	def statvfs( path ) :
		class Stat( object ) :
			def __init__( self ) :
				self.f_bsize  = 0
				self.f_bavail = 0
				self.f_blocks = 0
		return Stat()

elif 'darwin' == sys.platform :
	from os import statvfs
elif 'linux2' == sys.platform :
	from os import statvfs
else :
	raise Exception( "Unknown platform." )

